The Natural Language Processing Workshop by unknow
Author:unknow
Language: eng
Format: epub
Publisher: Packt Publishing Pvt. Ltd.
Published: 2020-08-14T00:00:00+00:00
Saving and Loading Models
After a model has been built and its performance matches our expectations, we may want to save it for future use. This eliminates the time needed for rebuilding it. Models can be saved on the hard disk using the joblib and pickle libraries.
The pickle module makes use of binary protocols to save and load Python objects. joblib makes use of the pickle library protocols, but it improves on them to provide an efficient replacement to save large Python objects. Both libraries have two main functions that we will make use of to save and load our models:
dump: This function is used to save a Python object to a file on the disk.
loads: This function is used to load a saved Python object from a file on the disk.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Automotive | Engineering |
Transportation |
Whiskies Galore by Ian Buxton(41499)
Introduction to Aircraft Design (Cambridge Aerospace Series) by John P. Fielding(32868)
Small Unmanned Fixed-wing Aircraft Design by Andrew J. Keane Andras Sobester James P. Scanlan & András Sóbester & James P. Scanlan(32540)
Craft Beer for the Homebrewer by Michael Agnew(17910)
Turbulence by E. J. Noyes(7672)
The Complete Stick Figure Physics Tutorials by Allen Sarah(7108)
Kaplan MCAT General Chemistry Review by Kaplan(6555)
The Thirst by Nesbo Jo(6415)
Bad Blood by John Carreyrou(6251)
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6213)
Learning SQL by Alan Beaulieu(6004)
Weapons of Math Destruction by Cathy O'Neil(5795)
Man-made Catastrophes and Risk Information Concealment by Dmitry Chernov & Didier Sornette(5605)
Digital Minimalism by Cal Newport;(5338)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5155)
iGen by Jean M. Twenge(5132)
Secrets of Antigravity Propulsion: Tesla, UFOs, and Classified Aerospace Technology by Ph.D. Paul A. Laviolette(4882)
Design of Trajectory Optimization Approach for Space Maneuver Vehicle Skip Entry Problems by Runqi Chai & Al Savvaris & Antonios Tsourdos & Senchun Chai(4820)
Electronic Devices & Circuits by Jacob Millman & Christos C. Halkias(4711)
